package com.ydl.shopping;

import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class MyShoppingApplication {

    public static void main(String[] args) {
        // SpringApplication.run(MyShoppingApplication.class, args);

        SpringApplication springApplication = new SpringApplication(MyShoppingApplication.class);
        // springApplication.setBannerMode(Banner.Mode.OFF); // 关闭Banner
        springApplication.setBannerMode(Banner.Mode.CONSOLE); // 控制台输出Banner
        springApplication.run(args);
        System.out.println(
                """
                 ____                        ____                                                  \s
                /\\  _`\\                     /\\  _`\\                                                \s
                \\ \\ \\L\\ \\  __  __    ___    \\ \\,\\L\\_\\  __  __    ___    ___     __    ____    ____ \s
                 \\ \\ ,  / /\\ \\/\\ \\ /' _ `\\   \\/_\\__ \\ /\\ \\/\\ \\  /'___\\ /'___\\ /'__`\\ /',__\\  /',__\\\s
                  \\ \\ \\\\ \\\\ \\ \\_\\ \\/\\ \\/\\ \\    /\\ \\L\\ \\ \\ \\_\\ \\/\\ \\__//\\ \\__//\\  __//\\__, `\\/\\__, `\\
                   \\ \\_\\ \\_\\ \\____/\\ \\_\\ \\_\\   \\ `\\____\\ \\____/\\ \\____\\ \\____\\ \\____\\/\\____/\\/\\____/
                    \\/_/\\/ /\\/___/  \\/_/\\/_/    \\/_____/\\/___/  \\/____/\\/____/\\/____/\\/___/  \\/___/\s
                                        my_shopping 启动成功!"""
        );
    }

}
